package com.zy.service.bs;

import com.zy.entity.bs.Notice;
import com.zy.pojo.query.bs.NoticeQuery;
import com.zy.pojo.vos.common.PageVo;
import com.zy.service.base.BaseService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface NoticeService extends BaseService<Notice> {

	/**
	 * 分页
	 * 
	 * @param noticeQuery
	 * @param start
	 * @param limit
	 * @return
	 */
	PageVo pageNotice(NoticeQuery noticeQuery, Integer start, Integer limit);

	/**
	 * 新增
	 * 
	 * @param notice
	 */
	void saveNotice(Notice notice);
	
	/**
	 * 更新
	 *
	 * @param notice
	 */
	void updateNotice(Notice notice);

	/**
	 * 删除
	 * 
	 * @param id
	 */
	void removeNotice(long id);

	/**
	 * 恢复
	 * 
	 * @param id
	 */
	void recover(long id);

}
